package com.digital.welcome.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.digital.welcome.entity.SchoolInformation;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 韩
 */
@Mapper
@Repository
public interface SchoolInformationMapper extends BaseMapper<SchoolInformation> {

    List<SchoolInformation> selectSchoolInformation(String title);

    boolean insertInformation(SchoolInformation schoolInformation);

    List<SchoolInformation> getAllSchoolInformation();

    int deleteSchoolInformation(SchoolInformation schoolInformation);

    int updateInformation(SchoolInformation schoolInformation);
}
